/* GENERAL SETTINGS */
body, th, td {
    font-family: Arial, Tahoma, sans-serif;
    font-size: 12px;
    color: #555555;
}

body {
    width: 800px;
    margin: 30px auto;
    background-color: #F7F7F7;
}

a {
    text-decoration: none;
}

img {
    border: none;
}

form {
    margin: 0px auto;
}

fieldset {
    padding: 10px;
    border: 1px solid silver;
    text-align: left;
    margin: 0px auto;
    /* CSS3 */
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

legend {
    text-transform: uppercase;
    color: #0A71A5;
    font-weight: bold;
    font-size: 16px;    
}

input, select {
    padding: 3px;
}

.form_label {
    display: inline-block;
    width: 120px;
    padding: 3px;
    font-style: italic;
    vertical-align: middle;
}

.form_item {
    display: inline-block;
    padding: 3px;
    vertical-align: middle;
}

.textbox {
    width: 250px;
    border: 1px solid silver;
}

.button {
    padding: 3px;
    background-color: #A8D3FF;
    border: 1px solid #51A8FF;
    cursor: pointer;
    width: 100px;
}

.button:hover {
    background-color: #FFCBB3;
    border: 1px solid #FF702B;
}

.textbox:hover {
    background: #EFEFEF;
}

.large{
    font-weight: bolder;
    font-size: 20px;
}

.list_table {
    border-collapse: collapse;
    width: 100%;
}

.list_th {
    background-color: #E5E5E5;
    font-weight: bold;
    text-align: center;
    color: #0080C0;
    border: 1px solid silver;
    padding: 3px;
}

.list_td {
    border: 1px solid silver;
    padding: 3px;
    text-align: center;
}

.align_center {
    text-align: center;
}

.align_left {
    text-align: left;
}

.align_right {
    text-align: right;
}

#layout {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 1px 1px 8px silver;
    -moz-box-shadow: 1px 1px 8px silver;
    -webkit-box-shadow: 1px 1px 8px silver;
}

#banner_top {
    background-image: url("../images/top_bg.png");
    line-height: 34px;
    padding: 10px;
    font-size: 16px;
    color: white;
    font-weight: bold;
    /* CSS 3 */
    border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
}

#footer {
    line-height: 30px;
    height: 30px;
    color: white;
    background-color: #282828;
    font-weight: bold;
    text-align: center;
    /* CSS 3 */
    border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
}

#nav_bar {
    background-color: #E5E5E5;
    padding: 3px;
    font-weight: bold;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
}

#nav_bar a {
    color: #555555;
}

#nav_bar a:hover {
    color: #D74600;
}

#content {
    padding: 10px;
    text-align: center;
    background: white;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
}

.function_table {
    border-spacing: 10px;
    background-color: #F5F5F5;
    border: 1px solid #D6D6D6;
}

.function_item {
    border: 1px solid #D6D6D6;
    width: 120px;
    height: 40px;
    padding: 85px 5px 5px;
    text-align: center;
    background-color: white;
}

.function_item a{
    color: #555555;
}

.function_item:hover {
    background-color: #FFDDFF;
    border: 1px solid #FFAEFF;
    cursor: pointer;
}

.statistics_panel {
    width: 300px;
    text-align: left;
    vertical-align: top;
    line-height: 20px;
}

.button_member_add {
    background: white url("../images/user_add.png") no-repeat center center;
}

.button_member_list {
    background: white url("../images/user.png") no-repeat center center;
}

.button_cate_add {
    background: white url("../images/category_add.png") no-repeat center center;
}

.button_cate_list {
    background: white url("../images/category.png") no-repeat center center;
}

.button_news_add {
    background: white url("../images/news_add.png") no-repeat center center;
}

.button_news_list {
    background: white url("../images/news.png") no-repeat center center;
}

/* Login Page */
.login_img {
    width: 200px;
    height: 150px;
    background: url('../images/login_lock.png') no-repeat center center;
}

/* ERROR - RESULT */
.result_msg {
    text-align: left;
    font-style: italic;
    color: black;
    padding: 20px 5px 20px 60px;
    border: 1px solid silver;
    background: #C1FFE0 url('../images/valid.png') no-repeat 15px center;
}

.error_msg {
    text-align: left;
    font-style: italic;
    color: black;
    padding: 20px 5px 20px 60px;
    border: 1px solid silver;
    background: pink url('../images/error.png') no-repeat 15px center;
}

/* PAGE NAVIGATE */
#page_nav {
    text-align: center;
    margin-top: 10px;
}

#page_nav a {
    margin:  0px 2px 0px 2px;
    padding: 1px 6px 1px 6px;
    border: 1px solid gray;
    color: #555555;
    font-weight: bold;
}

#page_nav a:hover {
    margin:  0px 2px 0px 2px;
    padding: 1px 6px 1px 6px;
    border: 1px solid red;
    background-color: pink;
    color: black;
}

#page_nav span.active {
    margin:  0px 2px 0px 2px;
    padding: 1px 6px 1px 6px;
    border: 1px solid blueviolet;
    background-color: blue;
    color: white;
}

